
namespace Ebusiness_Logs
{
    public class Program
    {
        public static void Main(string[] args)
        {
            var builder = WebApplication.CreateBuilder(args);

            // Add services to the container.

            //使用Abp模块，配置service
            builder.Services.AddApplication<LogsMoudule>(option =>
            {
                //加载插件，主项目动态扩展功能
                //option.PlugInSources.AddFolder("D:\\学习\\项目\\Plugins");
            });
            var app = builder.Build();
            //使用abp模块，配置中间件
            app.InitializeApplication();
            app.Run();
        }
    }
}
